﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ItemsModify.aspx.cs" Inherits="CRM.Web.SurveyManage.ItemsModify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" >
        $(document).ready(function() {
            $('#btnItemsSearch').bind("click", function() {
                var url = 'ItemsSearch.aspx';
                var title = 'ItemsSearch';
                openModalDialog(url, title, 800, 600);
            });
        });
        //设置选择题库的题目
        function SetSelectItems(item_name) {
            $('#txtSELECTITEMS').val(item_name);
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">
    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" ></asp:Label></div>
    </div>
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
    </table>
    <div id="divMain">
    <div style="width: 100%">
	<table border="0" cellpadding="0" cellspacing="0" class="table" >
        <tr>
                    <td class="title">
                        题目编号:
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtAUTOID" runat="server" CssClass="txt" MaxLength="20" 
                            Rows="3" TextMode="SingleLine" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        题目名称:
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtITEM_NAME" runat="server" CssClass="txt txt90" 
                            Height="50px" MaxLength="100" Rows="3" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        题目类型:
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlITEM_TYPE" runat="server" CssClass="ddl" ></asp:DropDownList>
                    </td>
                </tr>
                <tr style="display:none">
                    <td class="title">
                        题目是否允许输入:
                    </td>
                    <td class="content">
                        <asp:RadioButton ID="rbENINPUT0" runat="server" GroupName="rbENINPUT" ValidationGroup="rbENINPUT" Text="否" Checked="true" />
                        <asp:RadioButton ID="rbENINPUT1" runat="server" GroupName="rbENINPUT" ValidationGroup="rbENINPUT" Text="是" />
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        题目是否必要:
                    </td>
                    <td class="content">
                        <asp:RadioButton ID="rbENNULL0" runat="server" GroupName="rbENNULL" ValidationGroup="rbENNULL" Text="否" Checked="true" />
                        <asp:RadioButton ID="rbENNULL1" runat="server" GroupName="rbENNULL" ValidationGroup="rbENNULL" Text="是" />
                    </td>
                </tr>
            </table>
    <div style="width: 100%" id="tBodyButton">
                <div class="btndiv">
                <span class="btnspan"><asp:Button ID="btnOK" runat="server" Text="确定" CommandName="Save" CssClass="btn title_qd"
                            OnClick="btnOK_Click" /></span>
                    <span class="btnspan">
                        <asp:Button ID="btnSETITEM_OPTIONS" runat="server" Text="设定题目选项"  CommandName="SetItem_Options" CssClass="btn title_qd" 
                        onclick="btnSETITEM_OPTIONS_Click"/></span>
                    <span class="btnspan"><input id="btnCancel" runat="server" type="button" value="返 回" class="btn title_fh" /></span>
                </div>
            </div>     
	</div>
    </div>
    </form>
</body>
</html>
